package com.liyuan.help_e.dao;

import com.liyuan.help_e.model.Role;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface RoleDao {
    @Select("select * from role where id = #{id}")
    public Role selectRoleById(@Param("id")Integer id);
}
